AlertCallback

public interface AlertCallback implements BrowserAsyncCallback<P, R>

This callback is invoked when JavaScript alert dialog should be displayed. In this callback you can display standard Java modal dialog with the message that you can get from Params.

Use the ok method to tell browser that the alert dialog was closed.

Please note that it is not necessary to display a dialog in this callback.

If the callback throws an exception, the ok method will be invoked.

Inheritors

Types

Link copied to clipboard
public final class Action extends AsyncCallbackAction<R>
An action providing a response to the AlertCallback.
Link copied to clipboard
public interface Params
The parameters of the AlertCallback.

Functions

Link copied to clipboard
public abstract void on(P params, R tell)
Invoked when the callback needs a response for the given callback parameters.